// 存token
export const setToken = (token) => sessionStorage.setItem("token", token);
// 取
export const getToken = () => sessionStorage.getItem("token");
// 删除
export const removeToken = () => sessionStorage.removeItem("token");

// 判断是否登录
export const isLogin = () => getToken();
